#include <mesh.h>
Each Mesh object contains a list of Vertex objects.
Public Member Functions |
|
Vertex (void) | |
float | Freeze (void) const |
Returns the Freeze value of the Vertex (between 0.0
and 1.0, where 0.0 is not frozen). |
|
void | SetFreeze (float fFreeze) |
Sets the Freeze value of the Vertex (between 0.0 and
1.0, where 0.0 is not frozen). |
|
float | Mask (void) const |
Do not use this method. |
|
void | SetMask (float fMask) |
Do not use this method. |
|
bool | IsSelected (void) const |
Returns the Selected state of the Vertex (true or
false). |
|
void | SetSelected (bool bSelected) |
Sets the Selected state of the Vertex (true or false).
|
|
Public Attributes |
|
Vector | m_vPos |
unsigned int | m_iStrokeID |
tnormal | m_vNormal [4] |
int | m_iNormalIndex |
tnormalv | m_iNormal |
|
00048 { m_iStrokeID = 0; m_iNormal = 0; }; |
|
Returns the Freeze value of the Vertex (between 0.0 and 1.0, where 0.0 is not frozen). The freeze value is used to lock parts of the mesh so they are less affected by sculpting brushes. It is the responsibility of every sculpt brush to take into account the Freeze values on vertices it is modifying. 00067 { return ((float)(unsigned char)(m_vNormal[3]&0x7f))/0x7f; }; |
|
Sets the Freeze value of the Vertex (between 0.0 and 1.0, where 0.0 is not frozen). The freeze value is used to lock parts of the mesh so they are less affected by sculpting brushes. It is the responsibility of every sculpt brush to take into account the Freeze values on vertices it is modifying. |
|
Do not use this method. Layer masks should be accessed via LayerMeshData::VertexMask. 00081 { return ((float)(unsigned char)(m_vNormal[3]>>8))/0xff; }; |
|
Do not use this method. Layer masks should be accessed via LayerMeshData::VertexMask. |
|
Returns the Selected state of the Vertex (true or false). 00089 { return (m_vNormal[3]&0x80) != 0; }; |
|
Sets the Selected state of the Vertex (true or false). |
|
|
|
|
|